<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">	
	<title>M2 - Controll Panel</title>
	
	<meta name="description" content="">
	
	<?php echo $html->css('admin/main');?>
	<?php echo $html->css('smoothness/ui.datepicker');?>
	<?php echo $javascript->link('tiny_mce/tiny_mce');?>
	<?php echo $javascript->link('jquery');?>
	<?php echo $javascript->link('ui.datepicker');?>	
    
    
    <!-- Ajax tooltip -->
    <?php echo $html->css('ajax-tooltip1');?>
    <?php echo $html->css('ajax-tooltip-demo2');?>
    <?php echo $javascript->link('ajax');?>
    <?php echo $javascript->link('ajax-dynamic-content');?>
    <?php echo $javascript->link('ajax-tooltip');?>
    
	<script type="text/javascript">	
         $(document).ready(function() {        
           $("td input[type='checkbox']").click(function() {
        		if($(this).attr("checked"))
        		{	
        			$(this).parent().parent().removeClass("rowfree");
        			$(this).parent().parent().addClass("rowselected");        			 
          		}     			  
          		else
          		{
        			$(this).parent().parent().removeClass("rowselected");
        			$(this).parent().parent().addClass("rowfree");
          		}			  		
           });           
        	$("td").hover(function () {
              $(this).parent().addClass("hilite");
            }, function () {
              $(this).parent().removeClass("hilite");
            });  
           $("th a").css("color", "#FFF");
         });		
	</script>   
</head>
<body>
<div id="wrap">
    <div id="header">
    	
        <div id="site-title" style="float: left; width: 45px;">
        	<a href="<?php echo $html->url('/language/change/vi'); ?>" ><?php echo $html->image('icon_vi.gif', array('alt' => "Vietnam", 'title' => " Vietnam ", 'width' => "24", 'border' => "0", 'height' => "15")); ?></a>&nbsp;&nbsp;
            
        </div>    
         <div style="float: left; padding-top: 3px;">
         	<a href="<?php echo $html->url('/language/change/en'); ?>" ><?php echo $html->image('icon_en.gif', array('alt' => "English", 'title' => " English ", 'width' => "24", 'border' => "0", 'height' => "15")); ?></a>&nbsp;&nbsp;	
         </div>
        
	    <div id="login-info">
	        	<?php echo $html->link('Log out', '/users/logout', array('id' => 'logout')); ?>
	    </div>
    </div>
    <div id="sidebar">
    	<?php echo $this->renderElement('sidebar');?>   
    </div> 
    <div id="content">
       <?php           
               echo $content_for_layout;
        ?>
  	
	</div>
</div>
<div id="footer">
	<?php echo $html->link('Powered by BITCMS', 'http://bitjsc.com')?> • 
</div>
</body>
</html>